Utility.pointsDistance Method

Find the distance between 2 points.
 

Parameters

point1

Type: Object
The first point in format Object{left, top}">.
point2

Type: Object
The second point in format Object{left, top}">.

Return Value


Type: Number
The distance.